UCF STIG Viewer Logo

OL 8 must be configured to disable USB mass storage.


Overview

Finding ID Version Rule ID IA Controls Severity
V-248838 OL08-00-040081 SV-248838r780080_rule Medium
Description
USB mass storage permits easy introduction of unknown devices, thereby facilitating malicious activity. Satisfies: SRG-OS-000114-GPOS-00059, SRG-OS-000378-GPOS-00163
STIG Date
Oracle Linux 8 Security Technical Implementation Guide 2021-07-21

Details

Check Text ( C-52272r780078_chk )
Verify the operating system disables the ability to load the USB Storage kernel module.

$ sudo grep -r usb-storage /etc/modprobe.d/* | grep -i "/bin/true" | grep -v "^#"

/etc/modprobe.d/usb-storage.conf:install usb-storage /bin/true

If the command does not return any output or the line is commented out, and use of USB Storage is not documented with the Information System Security Officer (ISSO) as an operational requirement, this is a finding.
Fix Text (F-52226r780079_fix)
Configure OL 8 to disable the ability to use the USB Storage kernel module.

Create a file under "/etc/modprobe.d" with the following command:

$ sudo touch /etc/modprobe.d/usb-storage.conf

Add the following line to the created file:

install usb-storage /bin/true